package com.sunday.common.netty.e8_Handlerorder.server.outbound;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelOutboundHandlerAdapter;
import io.netty.channel.ChannelPromise;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class OutBoundHandler3 extends ChannelOutboundHandlerAdapter {
    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
        log.info("[Out][3][Into] OutBoundHandler.write");
        ctx.write(msg);
        log.info("[Out][3][Exit] OutBoundHandler.write");
    }

}
